package com.code.day06;

public class Citizen {
    String cardId;
    String name;
    MyData myData;

    public static  void main(String[] args)
    {
        Citizen citizen = new Citizen();
        citizen.cardId = "110101199001011234";
        citizen.name = "张三";
        citizen.myData = new MyData();
        citizen.myData.year = "1990";
        citizen.myData.month = "01";
        citizen.myData.day = "01";
        System.out.println(citizen.cardId);
        System.out.println(citizen.name);
        System.out.println(citizen.myData.year + "-" + citizen.myData.month + "-" + citizen.myData);
    }
}
